<style>
    #hazardExamineBaseInfoDetail-edit .layui-input-block{
        margin-left: 145px;
    }
    #hazardExamineBaseInfoDetail-edit .layui-form-label {
        width: 110px;
    }
    #hazardExamineBaseInfoDetail-edit .layui-panel{
        margin-top: 10px;
    }
</style>
<div class="febs-container" id="hazardExamineBaseInfoDetail-edit">
    <div class="febs-open-body">
        <form class="layui-form" action="" lay-filter="hazardExamineBaseInfoDetail-edit-form">
            <!--            检查发布信息-->
            <div class="layui-card">
                <blockquote class="layui-elem-quote layui-elem-quote-primary">安全检查信息</blockquote>
                <div class="layui-card-body " id="box-detail">
                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label layui-form-label-detail">公司名称：</label>
                                <div class="layui-input-block layui-input-block-html" th:text="${hazardExamine.tenantName}">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs6">
                                <label class="layui-form-label layui-form-label-detail ">检查类别：</label>
                                <div th:switch="${hazardExamine.examineCategory}">
                                    <div th:case="1" class="layui-input-block layui-input-block-html">日常</div>
                                    <div th:case="2" class="layui-input-block layui-input-block-html">专项</div>
                                </div>
                            </div>
                            <div class="layui-col-xs6">
                                <label class="layui-form-label layui-form-label-detail ">检查类型：</label>
                                <div th:switch="${hazardExamine.examineType}">
                                    <div th:case="1" class="layui-input-block layui-input-block-html">公司检查</div>
                                    <div th:case="2" class="layui-input-block layui-input-block-html">部门检查</div>
                                    <div th:case="3" class="layui-input-block layui-input-block-html">车间检查</div>
                                    <div th:case="4" class="layui-input-block layui-input-block-html">班组检查</div>
                                    <div th:case="5" class="layui-input-block layui-input-block-html">项目检查</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label layui-form-label-detail">检查主题：</label>
                                <div class="layui-input-block layui-input-block-html" th:text="${hazardExamine.examineTitle}">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs6">
                                <label class="layui-form-label layui-form-label-detail">开始时间：</label>
                                <div class="layui-input-block layui-input-block-html" th:text="${hazardExamine.startDate}">
                                </div>
                            </div>
                            <div class="layui-col-xs6">
                                <label class="layui-form-label layui-form-label-detail ">结束时间：</label>
                                <div class="layui-input-block layui-input-block-html" th:text="${hazardExamine.endDate}">
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>


            <!--                         公司、综合检查-->
            <div id="company_field" class="layui-card febs-hide">
                <blockquote class="layui-elem-quote layui-elem-quote-primary">分组信息</blockquote>
                <div class="layui-card-body" id="company_box">
                    <div class="layui-panel layui-panel-company" id="panel_company0">
                        <div class="layui-field-box">
                            <div class="layui-form-item">
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <label class="layui-form-label layui-form-label-detail">检查人员：</label>
                                        <div class="layui-input-block">
                                            <table lay-filter="groupUserTable_company" id="groupUserTable_company" lay-data="{id: 'groupUserTable_company'}"></table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!--                        部门、车间、班组检查-->
            <div id="dept_field" class="layui-card febs-hide">
                <blockquote class="layui-elem-quote layui-elem-quote-primary">分组信息</blockquote>
                <div class="layui-card-body" id="dept_box">

                </div>
            </div>

            <!--                        项目检查-->
            <div id="project_field" class="layui-card febs-hide">
                <blockquote class="layui-elem-quote layui-elem-quote-primary">分组信息</blockquote>
                <div class="layui-card-body" id="project_box">

                </div>
            </div>

        </form>
    </div>
</div>
<script data-th-inline="javascript">
    var hazardExamineData = [[${hazardExamine}]];
</script>
<script th:src="@{/febs/js/hazard/hazardExamine/hazardExamineBaseInfoDetail.js(v=1)}"></script>